package paidaxing.blog.core.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 访问统计表(VisitStats)实体类
 *
 * @author heef
 * @since 2025-10-21 11:03:44
 */
public class VisitStats implements Serializable {
    private static final long serialVersionUID = -58930667808544258L;
    /**
     * 统计ID
     */
    private Long id;
    /**
     * 文章ID(全局统计为NULL)
     */
    private Long postId;
    /**
     * 访问日期
     */
    private Date visitDate;
    /**
     * 访问次数
     */
    private Integer visitCount;
    /**
     * 独立访客数
     */
    private Integer uniqueVisitor;
    /**
     * 创建时间
     */
    private Date createdAt;
    /**
     * 更新时间
     */
    private Date updatedAt;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Date getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(Date visitDate) {
        this.visitDate = visitDate;
    }

    public Integer getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(Integer visitCount) {
        this.visitCount = visitCount;
    }

    public Integer getUniqueVisitor() {
        return uniqueVisitor;
    }

    public void setUniqueVisitor(Integer uniqueVisitor) {
        this.uniqueVisitor = uniqueVisitor;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

}

